package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.commands.Command;
import org.cloudie.docs.editor.client.extended.File;

public class SystemUploadFileCommand extends Command {

  public final static int serialUid = 167;
  
  private int index;
  private File file;
  
  public SystemUploadFileCommand(int index, File file) {
	super("Upload file to your Google Docs account.");
	this.file = file;
	this.index = index;
  }
  
  public File getFile() {
    return file;
  }

  public void setFile(File file) {
    this.file = file;
  }

  public int getIndex() {
    return index;
  }

  public void setIndex(int index) {
    this.index = index;
  }

  @Override
  public int getCommandId() {
    return serialUid;
  }

}
